package com.tulele.vtool.mapper;

import com.tulele.vtool.model.ImportUsersInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "ImportUsersMapper")
public interface ImportUsersMapper {

    List<ImportUsersInfo> queryByNickName(@Param("gzh") String gzh, @Param("nickName") String nickName);

    int updateUserState(@Param("userId") Integer userId, @Param("id") Integer id);

    int updateRefererState(@Param("refererId") Integer refererId,@Param("userState")  Integer userState);
}